{% extends "base.html" %}
{% block main %}
    {% for list in lists %}
        <div class="card hoverable" style="width: 60%; margin: 0 auto 16px;">
            <div class="card-content">
                <div class="collection">
                    {% for s in list %}
                        <a class="collection-item" href={% url "info" s.studentID %}>
                            学号: {{ s.studentID }} 姓名: {{ s.name }} 年龄: {{ s.age }} 性别: {{ s.sex }} 成绩: {{ s.score }}
                        </a>
                    {% empty %}
                        <h1>No Data</h1>
                    {% endfor %}
                </div>
            </div>
        </div>
    {% empty %}
        <h1>No Data</h1>
    {% endfor %}
{% endblock %}